package cn.edu.ncut.cs.springboot.petmanagementsystem.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class PetHealthRecordVO {
    private Long id;
    private Long petId;
    private String petName;
    
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate checkDate;
    
    private BigDecimal weight;
    private BigDecimal temperature;
    private Integer heartRate;
    private Integer respiratoryRate;
    private String symptoms;
    private String diagnosis;
    private String treatment;
    private String veterinarian;
    
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate nextCheckDate;
    
    private Integer healthStatus;
    private String healthStatusText;
    private String notes;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
